package com.sfh.cp.user.pst;


import com.sfh.cp.user.ReqUserInfo;
import com.sfh.lib.mvp.IPresenter;
import com.sfh.lib.mvp.IView;
import com.sfh.lib.mvp.annotation.Service;

import java.util.List;

import crm.sfh.server.entity.ECity;
import crm.sfh.server.entity.EDegreeType;
import crm.sfh.server.entity.EUser;

@Service(achieve = PstUserInfo.class)
public interface IPstUserInfo extends IPresenter<IPstUserInfo.IVUserInfo> {
    interface IVUserInfo extends IView {
        void onUserInfo(EUser user);
        void onCity(List<ECity> list);
        void onDegreeType(List<EDegreeType> list);
    }

    void getUser();
    void listCity();
    void updateUser(ReqUserInfo info);
    void  listDegreeType();
}